$f: 19.2;

.home {
    .section1 {
        position: relative;
        padding: 260/$f+vw 0 155/$f+vw;
        .bg {
            position: absolute;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                
                filter: grayscale(1);
            }
        }
        .wrap {
            width: 1440/$f+vw;
            margin: 0 auto;
            .t {
                color: rgba(0, 0, 0, 0.9);
                font-size: 20/$f+vw;
                width: 258/$f+vw;
                border-bottom: 2/$f+vw solid rgba(5, 18, 40, .6);
                padding-bottom: 4/$f+vw;
            }
        
            .t2 {
                margin: 40/$f+vw 0 112/$f+vw 0;
                color: rgba(0, 0, 0, 0.9);
                line-height: 1.5;
                font-size: 50/$f+vw;
                letter-spacing: 0.1px;
                font-family: "Montserrat";
            }
            .chat {
                .chat_item {
                    display: flex;
                    margin: 0 0 44/$f+vw;
                    .l {
                        width: 1100/$f+vw;
                        padding: 40/$f+vw 60/$f+vw 36/$f+vw 60/$f+vw;
                        background: #fff;
                        border-radius: 24/$f+vw;
                        border: 1px solid #E6E6E6;
                        position: relative;
                        p {
                            position: relative;
                            z-index: 3;
                            color: rgba(0, 0, 0, 0.90);
                            font-size: 20/$f+vw;
                            font-weight: 400;
                            line-height: 150%; /* 30px */
                        }
                        .sq {
                            width: 30/$f+vw;
                            height: 30/$f+vw;
                            transform: translateY(-50%) rotate(45deg);
                            background: #fff;
                            border-top: 1px solid #E6E6E6;
                            border-right: 1px solid #E6E6E6;
                            position: absolute;
                            top: 50%;
                            right: -16/$f+vw;
                        }
                        .icon {
                            position: absolute;
                            top: 20/$f+vw;
                            left: 13/$f+vw;
                            width: 34/$f+vw;
                        }
                        .icon1 {
                            position: absolute;
                            bottom: 30/$f+vw;
                            left: 517/$f+vw;
                            width: 34/$f+vw;
                            transform: rotate(180deg);
                        }
                    }
                    .r {
                        color: #000;
                        width: 290/$f+vw;
                        font-weight: 500;
                        text-align: center;
                        font-size: 24/$f+vw;
                        line-height: 150%; /* 36px */
                        padding: 34/$f+vw 75/$f+vw 0;
                        span {
                            color: rgba(0, 0, 0, 0.90);
                            font-weight: 100;
                        }
                    }
                    &:nth-child(2n) {
                        flex-direction: row-reverse;
                        .sq {
                            transform: translateY(-50%) rotate(225deg);
                            right: unset;
                            left: -16/$f+vw;
                        }
                    }
                }
            }
        }
    }
    .section2 {
        padding: 160/$f+vw 0 80/$f+vw;
        .wrap {
            width: 1440/$f+vw;
            margin: 0 auto;
            .t {
                color: rgba(0, 0, 0, 0.9);
                font-size: 20/$f+vw;
                width: 258/$f+vw;
                border-bottom: 2/$f+vw solid rgba(5, 18, 40, .6);
                padding-bottom: 4/$f+vw;
                text-transform: uppercase;
            }
        
            .t2 {
                margin: 40/$f+vw 0 80/$f+vw 0;
                color: rgba(0, 0, 0, 0.9);
                line-height: 1.5;
                font-size: 50/$f+vw;
                letter-spacing: 0.1px;
                font-family: "Montserrat";
                font-weight: 300;
            }
            .content {
                .item {
                    position: relative;
                    padding: 40/$f+vw 40/$f+vw 12/$f+vw;
                    border-radius: 30/$f+vw;
                    background: #f5f5f5;
                    margin: 0 0 20/$f+vw;
                    .jia {
                        position: absolute;
                        z-index: 3;
                        cursor: pointer;
                        width: 40/$f+vw;
                        height: 40/$f+vw;
                        background: #fff;
                        border-radius: 50%;
                        top: 49/$f+vw;
                        right: 57/$f+vw;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        transition: 0.6s;
                        img {
                            width: 12/$f+vw;
                            transition: 0.6s;
                        }
                        &:hover {
                            background: #3FAEEE;
                            img {

                                filter: grayscale(1) brightness(10);
                            }
                        }
                    }
                    .block {
                        display: flex;
                        align-items: flex-start;
                        padding: 0 0 28/$f+vw 126/$f+vw;
                        position: relative;
                        h5 {
                            margin: 0;
                            color: #000;
                            font-size: 20/$f+vw;
                            font-style: normal;
                            font-weight: 600;
                            margin: 0 39/$f+vw 0 0;
                            position: absolute;
                            top: 0;
                            left: 0;
                        }
                        p {
                            width: 1140/$f+vw;
                            color: #000;
                            font-size: 20/$f+vw;
                            font-weight: 400;
                            line-height: 150%; /* 30px */
                        }
                    }
                    .none {
                        display: none;
                        .none_box {
                            width: 1140/$f+vw;
                            padding: 0 0 26/$f+vw;
                            margin: 0 0 0 126/$f+vw;
                            display: flex;
                            justify-content: space-between;
                        }
                        .img {
                            width: 348/$f+vw;
                            height: 196/$f+vw;
                            border-radius: 10/$f+vw;
                            overflow: hidden;
                            img {
                                display: block;
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                transition: 1s;
                            }
                            &:hover {
                                img {
                                    transform: scale(1.1);
                                }
                            }
                        }
                        .text {
                            width: 762/$f+vw;
                            display: flex;
                            flex-direction: column;
                            justify-content: space-between;
                            .none_content {
                                color: rgba(0, 0, 0, 0.60);
                                font-size: 16/$f+vw;
                                font-weight: 400;
                                line-height: 150%; /* 24px */
                            }
                            .text_bottom {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                .time {
                                    color: rgba(0, 0, 0, 0.60);
                                    font-size: 14/$f+vw;
                                    font-weight: 400;
                                }
                                a {
                                    position: relative;
                                    img {
                                        width: 19/$f+vw;
                                        position: relative;
                                        z-index: 3;
                                    }
                                    &::after {
                                        content: "";
                                        width: 40/$f+vw;
                                        height: 40/$f+vw;
                                        background: #fff;
                                        border-radius: 50%;
                                        position: absolute;
                                        top: 50%;
                                        left: 50%;
                                        transform: translate(-50%,-50%) scale(0);
                                        transition: 0.6s;
                                    }
                                    &:hover {
                                        &::after {
                                            transform: translate(-50%,-50%) scale(1);
                                        }
                                    }
                                }
                            }
                        }
                    }
                    &.item_active {
                        .jia {
                            transform: rotate(45deg);
                        }
                    }
                }
            }
        }
    }
    @media screen and (max-width: 1024px) {
        padding: 60px 0 0;
        .section1 {
            padding: 20px 0 60px;
            .wrap {
                width: 90%;
                margin: 0 auto;
                .t{
                    font-size: 20px;
                    width: 80%;
                    border-bottom: 2px solid rgba(5,18,40,0.6);
                    padding-bottom: 4px;
                  }
                  .t2{
                    margin: 20px 0;
                    font-size: 24px;
                    line-height: 1.3;
                  }
                  .chat {
                    margin: 40px 0 0;
                    .chat_item {
                        flex-direction: row-reverse !important;
                        justify-content: space-between;
                        margin: 0 0 20px;
                        .r {
                            font-size: 16px;
                            width: 28%;
                            padding: 15px 0 0;
                            text-align: left;
                        }
                        .l {
                            width: 70%;
                            padding: auto;
                            padding: 20px 15px;
                            .icon {
                                width: 15px;
                                top: 5px;
                                left: 7px;
                            }
                            .icon1 {
                                width: 15px;
                                top: unset;
                                left: unset;
                                right: 34px;
                                bottom: 16px;
                        
                            }
                            p {
                                font-size: 14px;
                            }
                            .sq {
                                width: 20px;
                                height: 20px;
                                left: -10px !important;
                                right: unset !important;
                                transform: translateY(-50%) rotate(225deg) !important;
                            }
                        }
                    }
                  }
            }
        }
        .section2 {
            padding: 30px 0 40px;
            .wrap {
                width: 90%;
                .t{
                    font-size: 20px;
                    width: 80%;
                    border-bottom: 2px solid rgba(5,18,40,0.6);
                    padding-bottom: 4px;
                  }
                .t2{
                    margin: 20px 0;
                    font-size: 24px;
                    line-height: 1.3;
                }
                .content {
                    .item {
                        padding: 20px 15px 0;
                        margin: 0 0 20px;
                        .jia {
                            right: 15px;
                            width: 30px;
                            height: 30px;
                            top: 16px;
                            img {
                                width: 12px;
                            }
                        }
                        .block {
                            display: block;
                            padding:  0 0 20px 0;
                            h5 {
                                font-size: 16px;
                                position: unset;
                                margin: 0 0 10px;
                            }
                            p {
                                font-size: 14px;
                                width: 100%;
                            }
                        }
                        .none {
                            width: 100%;
                            .none_box {
                                display: block;
                                padding: 0 0 20px;
                                margin: 0 ;
                                width: 100%;
                                .img {
                                    width: 100%;
                                    height: unset;
                                    margin: 0 0 15px;
                                }
                                .text {
                                    display: block;
                                    width: 100%;
                                    .none_content {
                                        width: 100%;
                                        p {
                                            font-size: 14px;
                                            line-height: 1.5;
    
                                        }
                                    }
                                    .text_bottom {
                                        margin: 15px 0 0;
                                        .time {
                                            font-size: 14px;
                                        }
                                        a {
                                            img {
                                                width: 16px;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}